<div id="featured">

	<div class="top"></div>
	<div id="slider-container">
    	<a class="back" title="nazad" href="#">nazad</a>

        <div id="slider">
            <!-- slides begin -->
            <?php foreach($slider as $slide): ?>
        	<div>
                <a href="<?php echo $slide->getLinkTo() ?>">
                    <?php echo image_tag('/uploads/slider/'.$slide->getPicPath(), array('width'=>720, 'height' =>275)) ?>
                    
                </a>
                <div class="title">
                    <h1><a href="<?php echo $slide->getLinkTo() ?>"><?php echo $slide->getTitle() ?></a></h1>
                    <p><?php echo $slide->getIntro() ?></p>
                </div>
             </div>
            <?php endforeach ?>
       	<!-- end of slides -->

   		</div>

         <a class="next" title="naprijed" href="#">naprijed</a>
  </div>
	<div class="bottom"></div>
</div>
